#pragma once
class SYSCOMLIBPRODLLEXPORT CReadConfig
{
public:
	CReadConfig(void);
	~CReadConfig(void);
	// ConfigFileName
	std::wstring m_ConfigFileName;
	// SetConfigFileName
	void SetConfigFileName(const std::wstring& filename);
	// ReadConfigData
	bool ReadConfigData(const std::wstring& type,const std::wstring& param, std::wstring& value);
	bool ReadConfigData(const std::wstring& type,const std::wstring& param, std::string& value);
	bool ReadConfigData(const std::wstring& type,const std::wstring& param, int & value);
	bool ReadConfigData(const std::wstring& type,const std::wstring& param, float& value);
	bool ReadConfigData(const std::wstring& type,const std::wstring& param, CString& value);
	
	// WriteConfigData
	bool WriteConfigData(const std::wstring& type,const std::wstring& param, std::wstring& value);
	bool WriteConfigData(const std::wstring& type,const std::wstring& param, std::string& value);
	bool WriteConfigData(const std::wstring& type,const std::wstring& param, int & value);
	bool WriteConfigData(const std::wstring& type,const std::wstring& param, float& value);
	bool WriteConfigData(const std::wstring& type,const std::wstring& param, const CString& value);
	//CreateSavePath
	bool CreateSavePath(const std::string& path);


};
